using System;
using System.Collections.Generic;
using System.Text;

namespace BABILON
{
    class Zattacker : Robot
    {
        private int P;

        public Zattacker()
            : base(50)
        {
            Random ran = new Random();
            P = ran.Next(20, 30);
        }

        public override string TenLop()
        {
            return "Zattacker";
        }

        public override int DiChuyen(int S)
        {
            //M * S + P * P * S. 
            int nangLuongTieuThu = M * S + P * P * S;
            NangLuongTieuThu += nangLuongTieuThu;
            return nangLuongTieuThu;
        }

        public override void XuatThongTin()
        {
            base.XuatThongTin();
            Console.WriteLine("Suc Manh: " + P);
            Console.WriteLine("Nang luong tieu thu: " + NangLuongTieuThu);
        }
    }
}
